package com.iflysse.services;

import com.iflysse.pojo.bo.req.KnowledgePointBoReq;
import com.iflysse.pojo.bo.resp.KnowledgePointListBoResp;

import java.sql.SQLException;

public interface KnowledgePointService {
    /**
     * 获取第一级知识点
     * @return
     */
    KnowledgePointListBoResp getRootKnowledgePointList() throws SQLException;


    /**
     * 根据知识点父节点获取子节点
     * @param knowledgePointBoReq
     * @return
     */
    KnowledgePointListBoResp getKnowledgePointListByParentId(KnowledgePointBoReq knowledgePointBoReq) throws SQLException;
}
